package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {
    PageResult page(DishPageQueryDTO dishPageQueryDTO);

    void save(DishDTO dishDTO);

    void delectId(List<Long> ids);

    DishVO selectid(Long id);

    void update(DishDTO dishDTO);

    void inster(Integer status, Long id);

    List<DishVO> listid(Long categoryId);

    List<DishVO> list(Dish dish);
}